package com.leyou.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leyou.item.dto.SpecGroupDTO;
import com.leyou.item.entiey.SpecGroup;

import java.util.List;

public interface SpecGroupService extends IService<SpecGroup> {
    //根据分类id查询规格组及组内参数
    List<SpecGroupDTO> queryGroupAndParamByCategoryId(Long categoryId);

    void deleteGroupAndParam(Long id);
}
